package com.signway.harmony_demo.slice.base;

import ohos.aafwk.ability.AbilitySlice;
import ohos.aafwk.content.Intent;

public class BaseAbilitySlice extends AbilitySlice {
    static private AbilitySlice slice;
    @Override
    protected void onStart(Intent intent) {
        super.onStart(intent);
    }

    @Override
    protected void onActive() {
        super.onActive();
        slice = this;
    }

    static public AbilitySlice getTopAbilitySlice() {
        return slice;
    }
}
